package com.ltkj.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单详情对象 tic_order_details
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
@ApiModel(value = "订单详情")
public class TicOrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单详情id */
    @ApiModelProperty("订单详情id")
    private Long orderDetailsId;

    /** 门票/商品id */
    @Excel(name = "门票/商品id")
    @ApiModelProperty("门票/商品id")
    private Long ticketId;

    /** 门票/商品名称 */
    @Excel(name = "门票/商品名称")
    @ApiModelProperty("门票/商品名称")
    private String ticketName;

    /** 门票/商品种类（举例：1景区门票，2活动门票，3场馆门票，4文创。。。） */
    @Excel(name = "门票/商品种类", readConverterExp = "举=例：1景区门票，2活动门票，3场馆门票，4文创。。。")
    @ApiModelProperty("门票/商品种类（举例：1景区门票，2活动门票，3场馆门票，4文创。。。）")
    private String orderTicketType;

    /** 订单详情号 */
    @Excel(name = "订单详情号")
    @ApiModelProperty("订单详情号")
    private String orderDetailsNum;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty("订单id")
    private Long orderId;

    /** 订单code */
    @Excel(name = "订单code")
    @ApiModelProperty("订单code")
    private String orderNum;

    /** 门票票种id */
    @Excel(name = "门票票种id")
    @ApiModelProperty("门票票种id")
    private Long ticketTypeId;

    /** 金额 */
    @Excel(name = "金额")
    @ApiModelProperty("金额")
    private BigDecimal ticketMoney;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Integer ticketCount;

    /** 门票配置表id */
    @Excel(name = "门票配置表id")
    @ApiModelProperty("门票配置表id")
    private Long ticConfigId;

    /** 可用时间开始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "可用时间开始", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("可用时间开始")
    private Date ticketUsetimeStart;

    /** 可用时间结束 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "可用时间结束", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("可用时间结束")
    private Date ticketUsetimeEnd;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String ticketStatus;

    /** 数据状态 */
    @ApiModelProperty("数据状态")
    private String isDel;

    /** 门票/商品类型名字 */
    @Excel(name = "门票/商品类型名字")
    @ApiModelProperty("门票/商品类型名字")
    private String ticketTypeName;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    @ApiModelProperty("商品介绍")
    private String shopDetails;
    @Excel(name = "球场门票时间段id")
    @ApiModelProperty("球场门票时间段id")
    private String ticVenuesPeriodId;

    @ApiModelProperty("店铺/景区/活动/场馆名称")
    private String commonName;

    @ApiModelProperty("景区/活动/场馆门票日期")
    private Date ticketDate;

    @ApiModelProperty("商品缩略图")
    private String goodPic;

    @ApiModelProperty("快递单号")
    private String trackingCode;

    @ApiModelProperty("店铺/景区/活动/场馆图片")
    private String commonPic;


    public void setOrderDetailsId(Long orderDetailsId) 
    {
        this.orderDetailsId = orderDetailsId;
    }

    public Long getOrderDetailsId() 
    {
        return orderDetailsId;
    }
    public void setTicketId(Long ticketId) 
    {
        this.ticketId = ticketId;
    }

    public Long getTicketId() 
    {
        return ticketId;
    }
    public void setTicketName(String ticketName) 
    {
        this.ticketName = ticketName;
    }

    public String getTicketName() 
    {
        return ticketName;
    }
    public void setOrderTicketType(String orderTicketType) 
    {
        this.orderTicketType = orderTicketType;
    }

    public String getOrderTicketType() 
    {
        return orderTicketType;
    }
    public void setOrderDetailsNum(String orderDetailsNum) 
    {
        this.orderDetailsNum = orderDetailsNum;
    }

    public String getOrderDetailsNum() 
    {
        return orderDetailsNum;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setTicketTypeId(Long ticketTypeId) 
    {
        this.ticketTypeId = ticketTypeId;
    }

    public Long getTicketTypeId() 
    {
        return ticketTypeId;
    }
    public void setTicketMoney(BigDecimal ticketMoney) 
    {
        this.ticketMoney = ticketMoney;
    }

    public BigDecimal getTicketMoney() 
    {
        return ticketMoney;
    }
    public void setTicketCount(Integer ticketCount) 
    {
        this.ticketCount = ticketCount;
    }

    public Integer getTicketCount() 
    {
        return ticketCount;
    }
    public void setTicConfigId(Long ticConfigId) 
    {
        this.ticConfigId = ticConfigId;
    }

    public Long getTicConfigId() 
    {
        return ticConfigId;
    }
    public void setTicketUsetimeStart(Date ticketUsetimeStart) 
    {
        this.ticketUsetimeStart = ticketUsetimeStart;
    }

    public Date getTicketUsetimeStart() 
    {
        return ticketUsetimeStart;
    }
    public void setTicketUsetimeEnd(Date ticketUsetimeEnd) 
    {
        this.ticketUsetimeEnd = ticketUsetimeEnd;
    }

    public Date getTicketUsetimeEnd() 
    {
        return ticketUsetimeEnd;
    }
    public void setTicketStatus(String ticketStatus) 
    {
        this.ticketStatus = ticketStatus;
    }

    public String getTicketStatus() 
    {
        return ticketStatus;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setTicketTypeName(String ticketTypeName) 
    {
        this.ticketTypeName = ticketTypeName;
    }

    public String getTicketTypeName() 
    {
        return ticketTypeName;
    }
    public void setShopDetails(String shopDetails) 
    {
        this.shopDetails = shopDetails;
    }

    public String getShopDetails() 
    {
        return shopDetails;
    }

    public String getTicVenuesPeriodId() {
        return ticVenuesPeriodId;
    }

    public void setTicVenuesPeriodId(String ticVenuesPeriodId) {
        this.ticVenuesPeriodId = ticVenuesPeriodId;
    }

    public String getCommonName() {
        return commonName;
    }

    public void setCommonName(String commonName) {
        this.commonName = commonName;
    }

    public Date getTicketDate() {
        return ticketDate;
    }

    public void setTicketDate(Date ticketDate) {
        this.ticketDate = ticketDate;
    }

    public String getGoodPic() {
        return goodPic;
    }

    public void setGoodPic(String goodPic) {
        this.goodPic = goodPic;
    }

    public String getTrackingCode() {
        return trackingCode;
    }

    public void setTrackingCode(String trackingCode) {
        this.trackingCode = trackingCode;
    }

    public String getCommonPic() {
        return commonPic;
    }

    public void setCommonPic(String commonPic) {
        this.commonPic = commonPic;
    }

    @Override
    public String toString() {
        return "TicOrderDetails{" +
                "orderDetailsId=" + orderDetailsId +
                ", ticketId=" + ticketId +
                ", ticketName='" + ticketName + '\'' +
                ", orderTicketType='" + orderTicketType + '\'' +
                ", orderDetailsNum='" + orderDetailsNum + '\'' +
                ", orderId=" + orderId +
                ", orderNum='" + orderNum + '\'' +
                ", ticketTypeId=" + ticketTypeId +
                ", ticketMoney=" + ticketMoney +
                ", ticketCount=" + ticketCount +
                ", ticConfigId=" + ticConfigId +
                ", ticketUsetimeStart=" + ticketUsetimeStart +
                ", ticketUsetimeEnd=" + ticketUsetimeEnd +
                ", ticketStatus='" + ticketStatus + '\'' +
                ", isDel='" + isDel + '\'' +
                ", ticketTypeName='" + ticketTypeName + '\'' +
                ", shopDetails='" + shopDetails + '\'' +
                ", ticVenuesPeriodId='" + ticVenuesPeriodId + '\'' +
                '}';
    }
}
